package com.junchenrobot.mes.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * Agv作业表
 *
 * @author SeaWave
 * @date 2022/11/21
 */
@Getter
@Setter
@ToString
@TableName("t_agv_work")
public class AgvWork {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 线号
     */
    @TableField(value = "line")
    private Integer line;

    /**
     * 纺丝位号
     */
    @TableField(value = "spinNo")
    private Integer spinNo;

    /**
     * 流水号
     */
    @TableField(value = "lsh")
    private String lsh;

    /**
     * 状态
     */
    @TableField(value = "status")
    private Integer status;

    @TableField(value = "time")
    private LocalDateTime time;

}
